<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Media Manager - ISBN page</title>
<link rel="stylesheet" type="text/css" href="/quotation.css" />
<link rel="shortcut icon" href="../favicon.ico" />

<script type="text/javascript">
function formValidator()
{
var i;
var isbn = new Array();
isbn[1] = document.form.sbn9.value;
isbn[2] = document.form.isbn10.value;
isbn[3] = document.form.isbn13.value;
var size = new Array();
size[1] = 9;
size[2] = 10;
size[3] = 13;

for (i in isbn)
	{
		if ((isbn[i].length > 0)&&(isbn[i].length < size[i]))
		{
		alert("Please enter a complete ISBN");
		elem.focus();
		return false;
		}
		else
		{
		alert("True");	
		return true;	
		}
	}
}
</script>
</head>

<body>
<div id="centeredmenu">
 <ul>
      <li><a href="http://www.quotationaday.com/booktest.php" class="active">Home</a></li>
      <li><a href="http://www.quotationaday.com/bookreport.php">Reports</a></li>
      <li><a href="http://www.quotationaday.com/qa.php">Bugs & Features</a></li>
      <li><a href="http://www.quotationaday.com/requests.php">Requests</a></li>
      <li><a href="http://www.quotationaday.com/about.html">About</a></li>
   </ul>
</div>
<h1>
<img class="banner" height="120px" width="780px" alt="Quotation a Day" src="../img/banner.jpg"/>
</h1>

<p>
MMManager (Mark's Media Manager) Public Beta - logged in as <?php echo $_SESSION['login'];?>
</p>
<p>
Current version - 0.44 (Nov 4th 2010)
<br/><br/>
</p>

<!--i=document.getElementsById.value('1');-->

<p>

<form action="test2.html" method="post"
name="form" onsubmit="return formValidator()"> 
</p> 
<br/>
<p>
Right now we're only looking at ISBNs... please fill in one of the below
</p>
<br/>
<p>9 digit SBN (mostly UK books before 1974)
<input type="text" name="sbn9" id="1" size=9>
</p> 

  <p>10 digit ISBN: 
<input type="text" name="isbn10" id="2" size=10\> 
  </p>
   <p>13 digit ISBN/EAN:  
<input type="text" name="isbn13" id="3" size=13>
<input type="hidden" name="fcheck" value="1"/>
<input type="submit" value="Submit Record"/>
</form>

</body>
</html>